//
//  ConfirmOrderNumTableViewCell.m
//  EasyToTesco
//
//  Created by mc on 16/3/18.
//  Copyright © 2016年 Jack. All rights reserved.
//

#import "ConfirmOrderNumTableViewCell.h"

@implementation ConfirmOrderNumTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

#pragma mark - 工厂方法：创建cell，给tableView重用
+ (instancetype)cellWithTableView:(UITableView *)tableView {
    static NSString *reuseIdentifier = @"ConfirmOrderNumTableViewCell";
    ConfirmOrderNumTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseIdentifier];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:@"ConfirmOrderNumTableViewCell" owner:nil options:nil] lastObject];
        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    
    }
    
    return cell;
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)addBtnClick:(id)sender {
    [self.delegate addBtnClick:self andbutton:sender];
    
}
- (IBAction)PlusBtnClick:(id)sender {
    [self.delegate reductionBtnClick:self andbutton:sender];
}

@end
